import request from '@/utils/request'

export default function getClassOptions(data) {
  return request({
    url: '/class/selectAllClass',
    method: 'post',
    data: data
  })
}

export function addClass(data) {
  return request({
    url: '/class/addClass',
    method: 'post',
    data: data
  })
}

export function updateClass(data) {
  return request({
    url: '/class/updateClass',
    method: 'post',
    data: data
  })
}

export function deleteClass(data) {
  return request({
    url: '/class/deleteClass',
    method: 'post',
    data: data
  })
}

